package com.xiyin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiyin.entity.UserOrderView;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserOrderViewMapper extends BaseMapper<UserOrderView> {

    @Select("SELECT * FROM V_USER_ORDER")
    List<UserOrderView> getAllUserOrders();
}
